from django.urls import path, include

from apps.oauth import views

app_name = 'oauth'

urlpatterns = [
    # 提供QQ登录扫码页面
    path('qq/login/', views.QQAuthURLView.as_view()),

    # 处理QQ登录回调
    path('oauth_callback/', views.QQAuthUserView.as_view())
]
